package com.mars.bean;

public class D {
    private String name1;
    private String name2;

    public D(String name1, String name2) {
        this.name1 = name1;
        this.name2 = name2;
        System.out.println(this.name1);
        System.out.println(this.name2);
    }

    public String getName1() {
        return name1;
    }

    public String getName2() {
        return name2;
    }
}
